const initialState = {}

export const reducerUser = (state = initialState, actions) => {
  switch (actions.type) {
    case 'user/get':
      return actions.data
    case 'user/del':
      return {}
    default:
      return state
  }
}
